<template>
  <div>
    <router-view></router-view>
    <van-tabbar v-model="active">
      <van-tabbar-item icon="home-o" to="/show">首页</van-tabbar-item>
      <van-tabbar-item icon="search" to="create">分类</van-tabbar-item>
      <van-tabbar-item icon="friends-o" to="wo">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  data() {
    return {
      active: 0,
    };
  },
};
</script>

<style></style>
